//run.cpp
#include <iostream>
#include "Square.hpp"
using namespace std;

int main() {    
    int n;
    cin >> n;   
    Square squares[n];
    for (int i = 0; i < n; i++) {   //随机生成n个正方形
        squares[i].setSideLength(rand() % 100); 
    }
    for (int i = 0; i < n; i++) {
        cout << i+1 << 
        ".边长：" << squares[i].getSideLength() << 
        "，周长："<< squares[i].perimeter() << 
        "，面积：" << squares[i].area() << endl;
    }

    return 0;
}